package com.kjlink.internal.workreport.stats.model;


import cn.xuqiudong.common.base.model.BaseEntity;
import com.kjlink.internal.workreport.base.enums.ProjectTimeStatsCategory;


/**
 * 项目工时统计 实体类
 *
 * @author Vic.xu
 */
public class ProjectTimeStats extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 项目id
     */
    private Integer projectId;

    /**
     * 类型：year/month
     */
    private ProjectTimeStatsCategory category;

    /**
     * 时间:形如2024或202405
     */
    private Integer date;

    /**
     * 使用的工时
     */
    private Integer total;

    /**
     * 创建人id
     */
    private Integer createId;

    /**
     * 修改人id
     */
    private Integer updateId;


    /***************** set|get  start **************************************/
    /**
     * set：项目id
     */
    public ProjectTimeStats setProjectId(Integer projectId) {
        this.projectId = projectId;
        return this;
    }

    /**
     * get：项目id
     */
    public Integer getProjectId() {
        return projectId;
    }

    /**
     * set：类型：year/month
     */
    public ProjectTimeStats setCategory(ProjectTimeStatsCategory category) {
        this.category = category;
        return this;
    }

    /**
     * get：类型：year/month
     */
    public ProjectTimeStatsCategory getCategory() {
        return category;
    }

    /**
     * set：时间:形如2024或202405
     */
    public ProjectTimeStats setDate(Integer date) {
        this.date = date;
        return this;
    }

    /**
     * get：时间:形如2024或202405
     */
    public Integer getDate() {
        return date;
    }

    /**
     * set：使用的工时
     */
    public ProjectTimeStats setTotal(Integer total) {
        this.total = total;
        return this;
    }

    /**
     * get：使用的工时
     */
    public Integer getTotal() {
        return total;
    }

    /**
     * get：修改人id
     */
    public Integer getUpdateId() {
        return updateId;
    }
    /***************** set|get  end **************************************/
}
